<?php 
$con= mysql_connect("localhost","root","");

if(!$con){
die('Connection Error!:' . mysql_error());
}
mysql_select_db ("usabilityevaluation",$con);
 
$idParticipant=POST['idParticipant'] ;
 
$query1="delete from Participant where id_participant = '$idParticipant')";
mysql_query($query1) or die('Error, delete query failed'); 

header("Location: ListeParticipants.php"); 
mysql_close($con);
?>



